package co.edu.usbcali.unidad.dataaccess.dao;

import co.edu.usbcali.unidad.modelo.Division;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * Interface for DivisionDAO.
 * 
 * @author Zathura Code Generator http://code.google.com/p/zathura
 * 
 */
public interface IDivisionDAO {
	public void save(Division instance);

	public void delete(Division instance);

	public void update(Division instance);

	public Division findById(String id);

	public List<Division> findByExample(Division instance);

	public List<Division> findByProperty(String propertyName, Object value);

	public List<Division> findAll();

	public List<Division> findByCriteria(String whereCondition);

	public List<Division> findPageDivision(String sortColumnName,
			boolean sortAscending, int startRow, int maxResults);

	public Long findTotalNumberDivision();

	public List<Division> findByDivCodigo(Object divCodigo);

	public List<Division> findByDivNombre(Object divNombre);
}
